#pragma once
#include <string>

class Investment
{
public:
	Investment(int value  = 0, char* str = ""):value(value),name(str){}
	bool isTaxFree() const;
	static Investment* createInvestment(int value, char* str);
	static int daysHeld(Investment*);
	

private:
	int value;
	std::string name;
};